<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE struts PUBLIC "-//Apache Software Foundation//DTD Struts Configuration 2.0//EN" "http://struts.apache.org/dtds/struts-2.0.dtd">
<struts>
	<package name="cn.ffcs.system.product" extends="struts-default"  namespace="/business/product" >

		<!-- PRODUCT BEGIN-->
		<action name="editProduct" class="productBean" method="findById">
			<result name="success">/business/product/editProduct.jsp</result>
		</action>
		<action name="su_editProduct" class="productBean" method="suFindById">
			<result name="success">/business/singleupdate/su_editProduct.jsp</result>
			<result name="read">/business/product/showProduct2.jsp</result>
		</action>
		<action name="showProduct2" class="productBean" method="showProductInfoById">
			<result name="success">/business/product/showProduct2.jsp</result>
		</action>
		<action name="showProduct3" class="productBean" method="showProductInfoById">
			<result name="success">/business/product/showProduct3.jsp</result>
		</action>
		<action name="su_showProduct" class="productBean" method="suFindById">
			<result name="success">/business/singleupdate/su_showProduct.jsp</result>
			<result name="read">/business/product/showProduct2.jsp</result>
		</action>
		<action name="su_saveProduct" class="productBean" method="saveOrUpdateSortProduct">
			<result name="success">/business/singleupdate/su_showProduct.jsp</result>
		</action>
		<action name="su_modProduct" class="productBean" method="saveOrUpdate2">
			<result name="success">/business/singleupdate/su_showProduct.jsp</result>
		</action>
		<action name="saveProduct" class="productBean" method="saveOrUpdate">
			<result name="success">/business/success.jsp</result>
		</action>
		<action name="delProduct" class="productBean" method="remove">
			<result name="success" type="redirect">listProduct.action</result>
		</action>
		<action name="su_delProduct" class="productBean" method="deleteProduct">
			<result name="success" type="redirect">null</result>
		</action>
		<action name="listProduct" class="productBean" method="findByPage">
			<result name="success">/business/product/listProduct.jsp</result>
		</action>
		<action name="su_listProduct" class="productBean" method="findByPage">
			<result name="success">/business/singleupdate/listProduct.jsp</result>
		</action>
		
		<action name="viewProduct" class="productBean" method="findView">
			<result name="success">/business/product/listProduct.jsp</result>
		</action>
		<action name="treeProduct" class="productBean" method="findTree">
			<result name="success">/xtreecheckbox/selectProduct.jsp</result>
		</action>
		<action name="batchDelProduct" class="productBean" method="batchDel">
			<result name="success" type="redirect">listProduct.action</result>
		</action>
		<action name="viewProduct" class="productBean" method="findView">
			<result name="success">/business/product/listProduct.jsp</result>
		</action>
		<action name="productView" class="productBean" method="productView">
			<result name="success">/business/product/productView.jsp</result>
		</action>
		<action name="newProduct" class="productBean" method="findNewProduct">
			<result name="success">/business/product/newProducts.jsp</result>
		</action>
		<action name="productDetail" class="productBean" method="findNewProduct">
			<result name="success">/business/product/newProducts.jsp</result>
		</action>
		<action name="singleupdate" class="productBean" method="singleupdate">
			<result name="success">/business/singleupdate/singleupdate.jsp</result>
		</action>
		<action name="listSortPathById" class="productBean" method="listSortPathById">
			<result name="success">/business/singleupdate/singleupdate.jsp</result>
		</action>
		<!-- PRODUCT END-->
		<!-- PRODUCTREFERENCE BEGIN-->
		<action name="editProductReference" class="productReferenceBean" method="findById">
			<result name="success">/business/product/editProductReference.jsp</result>
		</action>
		<action name="su_editProductReference" class="productReferenceBean" method="findById">
			<result name="success">/business/singleupdate/su_editProductReference.jsp</result>
		</action>
		<action name="showProductReference" class="productReferenceBean" method="showInfoById">
			<result name="success">/business/product/showProductReference.jsp</result>
		</action>
		<action name="saveProductReference" class="productReferenceBean" method="saveOrUpdate">
			<result name="success">/business/success.jsp</result>
		</action>
		<action name="su_saveProductReference" class="productReferenceBean" method="saveOrUpdate">
			<!--result name="success">/business/singleupdate/su_editProductReference.jsp</result-->
			<result name="success" type="redirect">su_showProduct.action?product.id=${product.id}</result>
		</action>
		<action name="delProductReference" class="productReferenceBean" method="remove">
			<result name="success" type="redirect">listProductReference.action</result>
		</action>
		<action name="su_delProductReference" class="productReferenceBean" method="removeProductReference">
			<result name="success" type="redirect">null</result>
		</action>
		<action name="listProductReference" class="productReferenceBean" method="findByPageANDuser">
			<result name="success">/business/product/listProductReference.jsp</result>
		</action>
		<action name="su_listProductReference" class="productReferenceBean" method="findByPageANDuser">
			<result name="success">/business/singleupdate/su_listProductReference.jsp</result>
		</action>
		<action name="showProductReferences" class="productReferenceBean" method="findByPage">
			<result name="success">/business/product/showProductReferences.jsp</result>
		</action>
		<action name="singleSearchReferences" class="productReferenceBean" method="singleSearch">
			<result name="success">/business/search/searchProductReferences.jsp</result>
		</action>
		<action name="showProductReferences2" class="productReferenceBean" method="findByPage">
			<result name="success">/business/product/showProductReferences2.jsp</result>
		</action>
		<action name="searchProductReferences" class="productReferenceBean" method="searchPR">
			<result name="success">/business/product/searchProductReferences.jsp</result>
		</action>
		<action name="showProductDetail" class="productReferenceBean" method="showProductDetail">
			<result name="success">/business/product/showProductDetail.jsp</result>
		</action>
		<action name="showSearchProductDetail" class="productReferenceBean" method="showProductDetail">
			<result name="success">/business/product/showSearchProductDetail.jsp</result>
		</action>
		<action name="batchDelProductReference" class="productReferenceBean" method="batchDel">
			<result name="success" type="redirect">listProductReference.action</result>
		</action>
		<action name="toSetPicture" class="productReferenceBean" method="toSetPicture">
			<result name="success">/bpm/editPicture.jsp</result>
		</action>
		<action name="setPicture" class="productReferenceBean" method="setPicture">
			<result name="success">/bpm/editPicture.jsp</result>
		</action>
		<!-- PRODUCTREFERENCE END-->
		<!-- PRODUCTMANAGER BEGIN-->
		<action name="editProductManager" class="productManagerBean" method="findById">
			<result name="success">/business/product/editProductManager.jsp</result>
		</action>
		<action name="showProductManager" class="productManagerBean" method="findById">
			<result name="success">/business/product/showProductManager.jsp</result>
		</action>
		<action name="saveProductManager" class="productManagerBean" method="saveOrUpdate">
			<result name="success">/business/success.jsp</result>
		</action>
		<action name="delProductManager" class="productManagerBean" method="remove">
			<result name="success" type="redirect">listProductManager.action</result>
		</action>
		<action name="listProductManager" class="productManagerBean" method="findByPage">
			<result name="success">/business/product/listProductManager.jsp</result>
		</action>
		<action name="showProductManagers" class="productManagerBean" method="findByPage">
			<result name="success">/business/product/showProductManagers.jsp</result>
		</action>
		<action name="showProductManagers2" class="productManagerBean" method="findByPage">
			<result name="success">/business/product/showProductManagers2.jsp</result>
		</action>
		<action name="batchDelProductManager" class="productManagerBean" method="batchDel">
			<result name="success" type="redirect">listProductManager.action</result>
		</action>
		<action name="su_productView" class="productManagerBean" method="viewProduct">
			<result name="success">/business/product/su_productView.jsp</result>
		</action>
		<action name="queryProduct" class="productManagerBean" method="queryProduct">
			<result name="success">/business/search/queryProduct.jsp</result>
		</action>
		
		
		<!-- PRODUCTMANAGER END-->
		
	</package>
    
</struts>